
function bindWebSocket(url){
	
	var  webSocket = new WebSocket(url); 
	return webSocket;
}
function setOnOpen(webSocket, handler, event){
	websocket.onopen = handler(event);
}
	
